package com.ethan.cj.ssm.service;

import com.ethan.cj.ssm.entity.People;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface LoginService {
    /**
     * 通过用户名获取用户信息
     *
     * @param peopleJson 用户名密码Json字符串
     * @param request  HttpServlet请求
     * @return 返回JSON结果信息
     */
    Map<Object, Object> getPeopleByPname(Map<String, String> peopleJson, HttpServletRequest request);
}
